package com.moon.interface_api.task;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ATask {

    @Async
    @Scheduled(cron = "*/6 * * * * ?")
    public void doTask(){
        System.out.println("A------------------");
    }
}
